<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<title>Gatling Stats - request_9</title>
</head>
<body>
<div class="frise"></div>
<div class="container details">
	<div class="head">
		<a href="http://gatling-tool.org" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.png"/></a>
	</div>
	<div class="main">
		<div class="cadre">
				<div class="onglet">
					<img src="style/cible.png" />
					<p>Simulation:&nbsp;<span>stress01 on 2012-10-31 00:13:15</span></p>
				</div>
				<div class="content">
					<div class="sous-menu">
						<div class="item"><a href="index.html">GLOBAL</a></div>
						<div class="item ouvert"><a id="details_link" href="#">DETAILS</a></div>
						<p class="sim_desc">1000 users searching 10 x for RUC, 2000 users reading page quotSobrequot, 1000 users searching 10 x for name</p>
					</div>
					<div class="content-in">
						<h1><span>> </span>request_9</h1>
						<div class="article">
							
						<div class="infos">
							<div class="titre">STATISTICS</div>
							<div class="infos-in">
								<div class="repli"></div>								
								<div class="info">
									<h2 class="first">Executions</h2>
									<table>
										<thead>
											<tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
										</thead>
										<tbody>
											<tr>
												<td class="title"></td>
												<td id="numberOfRequests" class="total"></td>
												<td id="numberOfRequestsOK" class="ok"></td>
												<td id="numberOfRequestsKO" class="ko"></td>
											</tr>
										</tbody>
									</table>
									<h2 class="second">Response Time (ms)</h2>
									<table>
										<thead>
											<tr>
												<th></th>
												<th>Total</th>
												<th>OK</th>
												<th>KO</th>
											</tr>
										</thead>
										<tbody>
											<tr>
												<td class="title">Min</td>
												<td id="minResponseTime" class="total"></td>
												<td id="minResponseTimeOK" class="ok"></td>
												<td id="minResponseTimeKO" class="ko"></td>
											</tr>
											<tr>
												<td class="title">Max</td>
												<td id="maxResponseTime" class="total"></td>
												<td id="maxResponseTimeOK" class="ok"></td>
												<td id="maxResponseTimeKO" class="ko"></td>
											</tr>
											<tr>
												<td class="title">Mean</td>
												<td id="meanResponseTime" class="total"></td>
												<td id="meanResponseTimeOK" class="ok"></td>
												<td id="meanResponseTimeKO" class="ko"></td>
											</tr>
											<tr>
												<td class="title">Std Deviation</td>
												<td id="standardDeviation" class="total"></td>
												<td id="standardDeviationOK" class="ok"></td>
												<td id="standardDeviationKO" class="ko"></td>
											</tr>
											<tr>
												<td class="title">95th percentile</td>
												<td id="percentiles1" class="total"></td>
												<td id="percentiles1OK" class="ok"></td>
												<td id="percentiles1KO" class="ko"></td>
											</tr>
											<tr>
												<td class="title">99th percentile</td>
												<td id="percentiles2" class="total"></td>
												<td id="percentiles2OK" class="ok"></td>
												<td id="percentiles2KO" class="ko"></td>
											</tr>
											<tr>
												<td class="title">Mean req/s</td>
												<td id="meanNumberOfRequestsPerSecond" class="total"></td>
												<td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
												<td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
						</div>						<div class="schema demi">
							<div id="container_indicators" class="demi"></div>
						</div>						<div class="schema geant">
							<div id="container" class="geant"></div>
						</div>						<div class="schema geant">
							<div id="container_distrib" class="geant"></div>
						</div>						<div class="schema geant">
							<div id="container_latency" class="geant"></div>
						</div>						<div class="schema geant">
							<div id="container_dispersion" class="geant"></div>
						</div>
						</div>
					</div>
				</div>
		</div>
	</div>
	<div class="nav">
		<ul></ul>
	</div>
</div>
<div class="foot">
	<a href="http://gatling-tool.org" title="Gatling Home Page"><img alt="Gatling" src="style/logo-gatling.jpg"/></a>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript" src="js/all_sessions.js"></script>
<script type="text/javascript" src="js/stats.js"></script>
<script type="text/javascript" src="js/highcharts.js"></script>
<script type="text/javascript" src="js/highstock.js"></script>
<script type="text/javascript" src="js/highcharts-more.js"></script>
<script type="text/javascript" src="js/theme.js"></script>
<script type="text/javascript">

	var pageStats = stats.request_9;
	$(document).ready(function() {
		setDetailsLinkUrl();
				setDetailsMenu();
				setActiveMenu();
		fillStats(pageStats);
		
Highcharts.setOptions({
	global: {
		useUTC: false
	}
});

var indicatorsChart = new Highcharts.Chart({
	chart: {
		renderTo: 'container_indicators',
		marginRight: 150
	},
	credits: {
		enabled: false
	},
	legend: {
		enabled: false
	},
	title: {
	 text: 'A title to let highcharts reserve the place for the title set later'
	},
	xAxis: {
		categories: [pageStats.group1.name,pageStats.group2.name,pageStats.group3.name,pageStats.group4.name]
	},
	yAxis: {
		title: {
			text: 'Number of Requests'
		}
	},
	tooltip: {
		formatter: function() {
			var s;
			if (this.point.name) { // the pie chart
				s = ''+ this.point.name +': '+ this.y +' requests';
			} else {
				s = ''+ this.y + ' requests';
			}
			return s;
		}
	},
	plotOptions: {
		series: {
			stacking: 'normal'
		}
	},
	series: [
		{
			type: 'column',
			color: '#A0B228',
			data: [pageStats.group1.count,0,0,0],
			tooltip: { yDecimals: 0, ySuffix: 'ms' }
		},
		{
			type: 'column',
			color: '#FFDD00',
			data: [0,pageStats.group2.count,0,0],
			tooltip: { yDecimals: 0, ySuffix: 'ms' }
		},
		{
			type: 'column',
			color: '#FF9D00',
			data: [0,0,pageStats.group3.count,0],
			tooltip: { yDecimals: 0, ySuffix: 'ms' }
		},
		{
			type: 'column',
			color: '#FF0000',
			data: [0,0,0,pageStats.group4.count],
			tooltip: { yDecimals: 0, ySuffix: 'ms' }
		},
		{
			type: 'pie',
			name: 'Percentages',
			data: [
				{
					name: pageStats.group1.name,
					y: pageStats.group1.percentage,
					color: '#A0B228'
				},
				{
					name: pageStats.group2.name,
					y: pageStats.group2.percentage,
					color: '#FFDD00'
				},
				{
					name: pageStats.group3.name,
					y: pageStats.group3.percentage,
					color: '#FF9D00'
				},
				{
					name: pageStats.group4.name,
					y: pageStats.group4.percentage,
					color: '#FF0000'
				}
			],
			center: [500, 85],
			size: 100,
			showInLegend: false,
			dataLabels: { enabled: false }
		}
	]
});

indicatorsChart.setTitle({
	text: '<span class="chart_title">Indicators</span>',
	useHTML: true
});

var responseTimeChart = new Highcharts.StockChart({
	chart: {
		renderTo: 'container',
		zoomType: 'x'
	},
	credits: {
		enabled: false
	},
	legend: {
		enabled: true,
		floating: true,
		y: -285,
		borderWidth: 0
	},
	title: {
		text: 'A title to let highcharts reserve the place for the title set later'
	},
	rangeSelector: {
		buttons : [{
		type : 'minute',
		count : 1,
		text : '1m'
	}, {
		type : 'minute',
		count : 10,
		text : '10m'
	}, {
		type : 'hour',
		count : 1,
		text : '1h'
	}, {
		type : 'all',
		count : 1,
		text : 'All'
	}],
	selected : 3,
	inputEnabled : false
	},
	xAxis: {
		type: 'datetime',
		ordinal: false,
		maxZoom: 10000 // three days
	},
	yAxis:[
	{
		min: 0,
		title: {
			text: 'Response Time (ms)',
			style: {
				color: '#4572A7'
			}
		}
	}, {
		min: 0,
		title: {
			text: 'Active Sessions',
			style: {
				color: '#FF9D00'
			}
		},
		opposite: true
	}],
    plotOptions: {
        arearange: {
            lineWidth: 1
        }
    },
	series: [
		{
		color: '#4572A7'
, pointInterval: 1000
, name: 'Response Time (success)'
, data: [
[1351653198573,0,0],[1351653199573,0,70],[1351653200573,0,30],[1351653201573,0,180],[1351653202573,0,60],[1351653203573,0,50],[1351653204573,0,60],[1351653205573,0,90],[1351653206573,0,10],[1351653207573,0,70],[1351653208573,0,1240],[1351653209573,0,330],[1351653210573,0,10],[1351653211573,0,50],[1351653212573,0,20],[1351653213573,0,140],[1351653214573,0,100],[1351653215573,0,100],[1351653216573,0,190],[1351653217573,0,190],[1351653218573,0,440],[1351653219573,0,140],[1351653220573,0,1050],[1351653221573,140,1320],[1351653222573,0,1260],[1351653223573,0,480],[1351653224573,0,270],[1351653225573,0,480],[1351653226573,0,1070],[1351653227573,0,890],[1351653228573,0,890],[1351653229573,0,880],[1351653230573,0,950],[1351653231573,0,380],[1351653232573,0,390],[1351653233573,0,450],[1351653234573,0,570],[1351653235573,0,630],[1351653236573,0,900],[1351653237573,140,1350],[1351653238573,270,1390],[1351653239573,40,750],[1351653240573,0,1000],[1351653241573,0,950],[1351653242573,300,1640],[1351653243573,770,2000],[1351653244573,1130,2520],[1351653245573,1300,2460],[1351653246573,1640,2520],[1351653247573,1310,2330],[1351653248573,1510,2880],[1351653249573,1790,3030],[1351653250573,1790,2690],[1351653251573,1610,2500],[1351653252573,1830,2580],[1351653253573,1560,2960],[1351653254573,1310,2870],[1351653255573,1700,2730],[1351653256573,1690,2470],[1351653257573,1550,2300],[1351653258573,1430,2350],[1351653259573,1200,2370],[1351653260573,1050,2280],[1351653261573,1250,2670],[1351653262573,1830,3090],[1351653263573,1980,3380],[1351653264573,2120,3430],[1351653265573,1850,1850]]
, type: 'arearange'
, tooltip: { yDecimals: 0, ySuffix: 'ms' }
, yAxis: 0
	},
			allSessionsData
	]
});

responseTimeChart.setTitle({
	text: '<span class="chart_title chart_title_">Response Time during Simulation</span>',
	useHTML: true
});

var responseTimeDistributionChart = new Highcharts.Chart({
	chart: {
		renderTo: 'container_distrib',
		type: 'column'
	},
	credits: {
		enabled: false
	},
	legend: {
		enabled: true,
		floating: true,
		y: -285,
		borderWidth: 0
	},
	title: {
		text: 'A title to let highcharts reserve the place for the title set later'
	},
	xAxis: {
		categories: ['17', '51', '86', '120', '154', '189', '223', '257', '292', '326', '360', '394', '429', '463', '497', '532', '566', '600', '635', '669', '703', '737', '772', '806', '840', '875', '909', '943', '978', '1012', '1046', '1080', '1115', '1149', '1183', '1218', '1252', '1286', '1321', '1355', '1389', '1423', '1458', '1492', '1526', '1561', '1595', '1629', '1664', '1698', '1732', '1766', '1801', '1835', '1869', '1904', '1938', '1972', '2007', '2041', '2075', '2109', '2144', '2178', '2212', '2247', '2281', '2315', '2350', '2384', '2418', '2452', '2487', '2521', '2555', '2590', '2624', '2658', '2693', '2727', '2761', '2795', '2830', '2864', '2898', '2933', '2967', '3001', '3036', '3070', '3104', '3138', '3173', '3207', '3241', '3276', '3310', '3344', '3379', '3413'],
		tickInterval: 20
	},
	yAxis: {
		min: 0,
		title: {
			text: 'Percentage of Requests'
		}
	},
	tooltip: {
		formatter: function() {
			return '<b>'+ this.x +' ms</b><br/>'+
			this.series.name +': '+ this.y +' %<br/>'+
			'Total: '+ this.point.stackTotal + ' %';
		}
	},
	plotOptions: {
		series: {
			groupPadding: 0,
			stacking: 'normal'
		}
	},
	series: [
		{
		type: 'column'
, color: '#4572A7'
, name: 'Success'
, data: [
31,2,2,2,2,1,2,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
, tooltip: { yDecimals: 0, ySuffix: 'ms' }	},
		{
		type: 'column'
, color: '#FF0000'
, name: 'Failure'
, data: [
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
, tooltip: { yDecimals: 0, ySuffix: 'ms' }	},
		]
});

responseTimeDistributionChart.setTitle({
	text: '<span class="chart_title">Response Time Distribution</span>',
	useHTML: true
});

var latencyChart = new Highcharts.StockChart({
	chart: {
		renderTo: 'container_latency',
		zoomType: 'x'
	},
	credits: {
		enabled: false
	},
	legend: {
		enabled: true,
		floating: true,
		y: -285,
		borderWidth: 0
	},
	title: {
		text: 'A title to let highcharts reserve the place for the title set later'
	},
	rangeSelector: {
		buttons : [{
		type : 'minute',
		count : 1,
		text : '1m'
	}, {
		type : 'minute',
		count : 10,
		text : '10m'
	}, {
		type : 'hour',
		count : 1,
		text : '1h'
	}, {
		type : 'all',
		count : 1,
		text : 'All'
	}],
	selected : 3,
	inputEnabled : false
	},
	xAxis: {
		type: 'datetime',
		ordinal: false,
		maxZoom: 10000 // three days
	},
	yAxis:[
	{
		min: 0,
		title: {
			text: 'Latency (ms)',
			style: {
				color: '#4572A7'
			}
		}
	}, {
		min: 0,
		title: {
			text: 'Active Sessions',
			style: {
				color: '#FF9D00'
			}
		},
		opposite: true
	}],
    plotOptions: {
        arearange: {
            lineWidth: 1
        }
    },
	series: [
		{
		color: '#4572A7'
, pointInterval: 1000
, name: 'Latency (success)'
, data: [
[1351653198573,0,0],[1351653199573,0,10],[1351653200573,0,20],[1351653201573,0,10],[1351653202573,0,60],[1351653203573,0,40],[1351653204573,0,20],[1351653205573,0,10],[1351653206573,0,0],[1351653207573,0,20],[1351653208573,0,510],[1351653209573,0,330],[1351653210573,0,10],[1351653211573,0,50],[1351653212573,0,20],[1351653213573,0,140],[1351653214573,0,100],[1351653215573,0,90],[1351653216573,0,160],[1351653217573,0,150],[1351653218573,0,440],[1351653219573,0,140],[1351653220573,0,1030],[1351653221573,140,1320],[1351653222573,0,1230],[1351653223573,0,430],[1351653224573,0,250],[1351653225573,0,380],[1351653226573,0,1050],[1351653227573,0,890],[1351653228573,0,860],[1351653229573,0,880],[1351653230573,0,950],[1351653231573,0,380],[1351653232573,0,300],[1351653233573,0,440],[1351653234573,0,570],[1351653235573,0,630],[1351653236573,0,900],[1351653237573,140,1350],[1351653238573,270,1370],[1351653239573,40,750],[1351653240573,0,1000],[1351653241573,0,950],[1351653242573,300,1540],[1351653243573,770,1920],[1351653244573,1130,2520],[1351653245573,1260,2400],[1351653246573,1640,2520],[1351653247573,1310,2270],[1351653248573,1510,2790],[1351653249573,1760,2940],[1351653250573,1780,2690],[1351653251573,1610,2310],[1351653252573,1820,2580],[1351653253573,1550,2930],[1351653254573,1310,2850],[1351653255573,1700,2730],[1351653256573,1680,2470],[1351653257573,1550,2300],[1351653258573,1430,2350],[1351653259573,1190,2290],[1351653260573,1050,2260],[1351653261573,1250,2670],[1351653262573,1830,3060],[1351653263573,1980,3370],[1351653264573,2120,3430],[1351653265573,1840,1840]]
, type: 'arearange'
, tooltip: { yDecimals: 0, ySuffix: 'ms' }
, yAxis: 0
	},
			allSessionsData
	]
});

latencyChart.setTitle({
	text: '<span class="chart_title chart_title_">Latency during Simulation</span>',
	useHTML: true
});

var scatterChart = new Highcharts.Chart({
	chart: {
		renderTo: 'container_dispersion', 
		defaultSeriesType: 'scatter',
		zoomType: 'xy'
	},
	credits: {
		enabled: false
	},
	xAxis: {
		title: {
			enabled: true,
			text: 'Global number of requests per second'
		},
		startOnTick: true,
		endOnTick: true,
		showLastLabel: true
	},
	title: {
		text: 'A title to let highcharts reserve the place for the title set later'
	},
	yAxis: {
		min: 0,
		title: {
			text: 'Response time'
		}
	},
	tooltip: {
		formatter: function() {
				 return ''+
			this.y +' ms at ' + this.x + ' allreq/s';
		}
	},
	legend: {
		enabled: false
	},
	plotOptions: {
		scatter: {
			marker: {
			radius: 3,
			states: {
				hover: {
					enabled: true,
					lineColor: 'rgb(100,100,100)'
				}
			}
		},
		states: {
			hover: {
				marker: {
				   enabled: false
				}
			}
			}
		}
	},
	series: [{
		type: 'scatter'
, color: 'rgba(69, 114, 167, .2)'
, name: 'Successes'
, data: [
[417,0],[540,70],[688,30],[722,330],[737,180],[837,60],[850,90],[863,70],[866,3430],[867,10],[874,60],[877,2690],[965,50],[967,10],[987,50],[1021,1850],[1029,20],[1038,140],[1113,3380],[1119,3090],[1137,2300],[1161,190],[1165,2470],[1174,100],[1189,2350],[1194,2730],[1197,1240],[1221,100],[1223,2370],[1228,2960],[1298,2330],[1313,480],[1333,2870],[1340,380],[1359,190],[1360,2280],[1364,140],[1369,2580],[1375,1320],[1414,2500],[1423,750],[1437,3030],[1442,390],[1471,1260],[1472,2880],[1489,450],[1496,950],[1525,270],[1541,2520],[1561,2670],[1584,1070],[1587,440],[1587,480],[1614,950],[1623,880],[1660,890],[1727,890],[1733,2520],[1748,570],[1755,2460],[1794,900],[1811,1000],[1830,630],[1849,2000],[1904,1390],[1991,1350],[2153,1050],[2183,1640]]		}, {
		type: 'scatter'
, color: 'rgba(255, 0, 0, .2)'
, name: 'Failures'
, data: [
[]]	} ]
});

scatterChart.setTitle({
	text: '<span class="chart_title">Response Time against the Global Number of Requests per Second</span>',
	useHTML: true
});

	});

</script>
</body>
</html>